import java.io.FileReader;
import java.io.IOException;
import java.io.Reader;



public class InputStreamReaderTest {
	public static void main(String[] args) throws IOException {
		Reader os=new FileReader("E:/3.txt");
		char[] b=new char[1024];
		int num;
		while((num=os.read(b))!=-1){
			System.out.println(new String(b,0,num));
		}
		os.close();
	}
}
